﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
namespace Skynet.Models
{
    /// <summary>
    /// ICaptureInfoRepository
    /// </summary>
    public interface ICaptureInfoRepository
    {
        IEnumerable<CaptureInfo> GetEnabledCaptures();
    }

    /// <summary>
    /// CaptureInfoRepository
    /// </summary>
    [Export(typeof(ICaptureInfoRepository))]
    public class CaptureInfoRepository : ICaptureInfoRepository
    {
        public IEnumerable<CaptureInfo> GetEnabledCaptures()
        {
            return new[] {
                new CaptureInfo { ID = "MME" },
                new CaptureInfo { ID = "DirectShow" },
            };
        }
    }
}
